/* index里面的是首页的样式内容 */


/* 入口模块 */

.entry {
    height: 500px;
    background-color: #f5f5f5;
}

.banner {
    position: relative;
    height: 500px;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    width: 45px;
    height: 45px;
    background-color: pink;
    background: no-repeat rgba(0, 0, 0, .3) url(../images/sprites.png);
    border-radius: 50%;
}

.next {
    right: 10px;
    background-position: -23px -59px;
}

.prev {
    left: 260px;
    background-position: 15px -59px;
}


/* 小圆点 */

.circle {
    position: absolute;
    bottom: 30px;
    left: 680px;
}

.circle li {
    float: left;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, .5);
    border-radius: 50%;
    margin-right: 15px;
    /* 鼠标经过变小手 */
    cursor: pointer;
}

.circle .active {
    background-color: #fff;
}

.entry .container {
    position: relative;
}

.category {
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    height: 500px;
    background-color: rgba(0, 0, 0, .8);
}

.category ul li a {
    position: relative;
    display: block;
    height: 50px;
    line-height: 50px;
    padding-left: 36px;
    color: #fff;
    font-size: 14px;
}

.category ul li a:hover {
    background-color: #27ba9b;
}

.category ul li a em {
    font-size: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 15px;
}

.category ul li a::after {
    content: '';
    position: absolute;
    top: 16px;
    right: 19px;
    width: 6px;
    height: 14px;
    background: url(../images/sprites.png) no-repeat -41px -108px;
}

.box-hd {
    margin-top: 40px;
    height: 60px;
}

.box-hd h3 {
    float: left;
    font-size: 29px;
    font-weight: 400;
}

.box-hd h3 small {
    margin-left: 20px;
    font-size: 16px;
    color: #999;
}

.box-hd .more {
    float: right;
    margin-top: 10px;
}

.box-hd .more::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 13px;
    margin-left: 10px;
    background: url(../images/sprites.png) no-repeat 0 -109px;
}

.box-bd {
    height: 408px;
}

.box-bd ul li {
    position: relative;
    top: 0;
    float: left;
    width: 304px;
    height: 408px;
    margin-right: 8px;
    background-color: #f0f9f4;
    text-align: center;
    transition: all .3s;
}

.box-bd ul li:hover {
    top: -5px;
    box-shadow: 0 15px 30px rgba(0 0 0 /10%);
}

.box-bd ul li:last-child {
    margin-right: 0;
}

.box-bd ul li img {
    width: 304px;
}

.box-bd ul li h4 {
    margin: 18px 0 10px 0;
    font-size: 20px;
    font-weight: 400;
}

.box-bd ul li p {
    font-size: 17px;
    color: #9a2e1f;
}

.box-bd ul li p span {
    font-size: 23px;
}

.box-bd .new {
    position: absolute;
    left: 16px;
    top: 18px;
    width: 29px;
    height: 51px;
    border: 1px solid #27ba9b;
    border-radius: 3px;
    font-size: 18px;
    color: #27ba9b;
    line-height: 24px;
}

.box-bd ul li a {
    display: block;
    width: 100%;
    height: 100%;
}

.info {
    color: #999;
}

.renqi .box-bd ul li {
    background-color: #fff;
}


/* 小导航栏 */

.box-hd ul {
    float: left;
    margin-left: 635px;
    margin-top: 9px;
}

.box-hd ul li {
    float: left;
}

.box-hd ul li a {
    padding: 0 12px;
}

.box-hd .active {
    background-color: #27BA9B;
    color: #fefbfc;
}

.goods {
    height: 610px;
}

.goods-l {
    float: left;
    width: 240px;
    height: 610px;
}

.goods-l img {
    width: 240px;
    height: 610px;
}

.goods-r {
    float: left;
    width: 1000px;
    height: 610px;
}

.goods-r ul li {
    position: relative;
    float: left;
    margin-left: 10px;
    width: 240px;
    height: 304px;
    border: 2px solid transparent;
    overflow: hidden;
}

.pic {
    height: 200px;
    padding: 0 20px;
}

.pic img {
    width: 100%;
    height: 100%;
}

.goods-r ul li h4 {
    margin: 0 25px;
    font-weight: 400;
}

.goods-r ul li p {
    margin: 0 25px;
}

.goods-r ul li .price {
    margin: 0 25px;
    font-size: 17px;
    color: #9a2e1f;
}

.goods-r ul li .price span {
    font-size: 22px;
}

.goods-r ul li:hover {
    border: 2px solid #27BA9B;
}

.find-baby {
    position: absolute;
    bottom: -87px;
    left: 0;
    height: 79px;
    width: 100%;
    background-color: #27BA9B;
    padding: 10px 55px 0;
    text-align: center;
    color: #fff;
    transition: all .3s;
}

.find-baby h5 {
    font-size: 18px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 7px;
    font-weight: 400;
}

.goods-r .find-baby p {
    margin: 0;
    font-size: 13px;
    margin-top: 5px;
}

.goods-r ul li:hover .find-baby {
    bottom: 0;
}

.goods-r .find-baby p a:hover {
    color: #ccc;
}